<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
%>
<!-- 任课班级设置    2011-11-03 10:55:51 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base target="_self">
    <title>任课班级设置</title>
  </head>
  
  <body>
  <form action="saveUserClassRelationSetClassIdGradeAndClassAction.action" method="post" name="myform">
  <input type="hidden" name="UserId" value="${UserId }">
  <input type="hidden" name="courseId" value="${courseId }">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    	<td align="left">
    	 <div style="font-size:12px;" >
    <ul >
    <c:if test="${! empty GCmap}">
    	<c:forEach items="${requestScope.GCmap}" var="gc">
    		<li style="clear:both;">${gc.key }
    			<c:if test="${! empty gc.value}">
    			<ul style="list-style-type:none;">
    				<c:forEach items="${gc.value}" var="cla" varStatus="s">
    				<li style="float:left;margin-right: 10px;white-space: nowrap;"><input type="checkbox" <c:if test='${! empty requestScope.map && map[cla.classId] }'>checked="checked"</c:if> name="classId" value="${cla.classId }">${cla.name }
    				</li>
    			</c:forEach></ul>
    		</c:if>
    		</li>
    	</c:forEach>
    </c:if>
    </ul>
    </div>
    	</td>
    </tr>
    <tr>
  		<td align="center">&nbsp;</td>
  	</tr>
  	<tr>
  		<td align="center"><input type="submit" value="提交" /></td>
  	</tr>
  </table>
  </form>
  </body>
</html>
